.TH vpcd 8 "@META_DATE@" "@META_ALIAS@" "@META_NAME@"
.SH NAME
vpcd \- virtual power control daemon
.SH SYNOPSIS
.B vpcd
.I "[--port PORT]"
.LP
.SH DESCRIPTION
.B vpcd
is a test program for PowerMan which emulates a remote power control
device.
It can be run interactively by the powerman daemon, or it can listen
on a port of your choosing.
.SH OPTIONS
.TP
.I "-p, --port PORT"
Instructs
.B vpcd
to listen for connections on the specified port instead of using
stdin/stdout.  Only one connection will be accepted.
.SH INTERACTIVE COMMANDS
The following commands are available at the vpcd> prompt:
.TP
.I "login"
The login command must br run before any of the other commands will work.
No username or password is required.
.TP
.I "logoff"
Return
.B vpcd
to the initial state.
.TP
.I "stat PLUG|*"
Show the power status of PLUG.  
If PLUG is ``*'', perform this action on all plugs.
.TP
.I "beacon PLUG|*"
Show the beacon status of PLUG.
If PLUG is ``*'', perform this action on all plugs.
.TP
.I "temp PLUG|*"
Show the temperature of the node attached to PLUG.
If PLUG is ``*'', perform this action on all plugs.
.TP
.I "spew COUNT"
Print COUNT 80-char lines.
This is the basis of a buffer handling test.
.TP
.I "on PLUG|*"
Turn on PLUG.
If PLUG is ``*'', perform this action on all plugs.
.TP
.I "off PLUG|*"
Turn off PLUG.
If PLUG is ``*'', perform this action on all plugs.
.TP
.I "flash PLUG|*"
Light the beacon on PLUG.
If PLUG is ``*'', perform this action on all plugs.
.TP
.I "unflash PLUG|*"
Unlight the beacon on PLUG.
If PLUG is ``*'', perform this action on all plugs.
.TP
.I "reset PLUG|*"
Reset the node attached to PLUG.
If PLUG is ``*'', perform this action on all plugs.

.SH "FILES"
@X_SBINDIR@/vpcd

.SH "ORIGIN"
PowerMan was originally developed by Andrew Uselton on LLNL's Linux clusters.
This software is open source and distributed under the terms of the GNU GPL.

.SH "SEE ALSO"
.BR powerman (1),
.BR powermand (8),
.BR httppower (8),
.BR plmpower (8),
.BR vpcd (8),
.BR powerman.conf (5),
.BR powerman.dev (5).
.PP
\fBhttp://code.google.com/p/powerman\fR
